package cn.edu.zafu.bigdata.x.xiejunjie.例4_1;

public class EmpInfo {
    String name;
    String designation;
    String department;
    public EmpInfo(String eName, String eDesign, String eDept){
        name = eName;
        designation = eDesign;
        department = eDept;
    }
    void print(){
        System.out.println(name+"is a"+designation+"at"+department+".");
    }
}
